import React from 'react'

import PropTypes from 'prop-types'

export default function Rfc(props) {
  console.log(props)
  return (
    <div>
      Rfc---{props.name}---{props.age}
      {props.children[0]}
      {props.children[1]}
      {props.children[2]}
    </div>
  )
}

Rfc.propTypes = {
  name: PropTypes.string,
  age: PropTypes.number,
  children: PropTypes.array
}
